From: Self-Hosting-Group Date: Thu, 25 Sep 2025 00:00:00 +0000 (+0000) Subject: luci-theme: add missing menu name to page `` X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=d16ffa31130e1033101e84cc6a77171c32d47f4b;p=project%2Fluci.git luci-theme: add missing menu name to page `<title>` Signed-off-by: Self-Hosting-Group <selfhostinggroup-git+openwrt@shost.ing> --- diff --git a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut index 9e5e3a2381..85216214e9 100644 --- a/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut +++ b/themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut @@ -18,7 +18,7 @@ <html lang="{{ dispatcher.lang }}" {{ darkpref ? `data-darkmode="${darkpref}"` : '' }}> <head> <meta charset="utf-8"> - <title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI + {{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (!darkpref): %} -{{ hostname }}{{ node?.title ? ` - ${striptags(node.title)}` : '' }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (css): %} {% endif %} @@ -58,7 +57,7 @@
- {{ hostname }} + {{ striptags(`${boardinfo.hostname ?? '?'}`) }}
diff --git a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut index 56443bd9cb..25a1719eea 100644 --- a/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut +++ b/themes/luci-theme-openwrt-2020/ucode/template/themes/openwrt2020/header.ut @@ -22,7 +22,7 @@ -{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI {% if (css): %} {% endif %} diff --git a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut index b7a6abae68..a1773aa62e 100644 --- a/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut +++ b/themes/luci-theme-openwrt/ucode/template/themes/openwrt.org/header.ut @@ -28,7 +28,7 @@ -{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${_(node.title)}` : ''}`) }} - LuCI +{{ striptags(`${dispatched ? `${dispatched.title} | ` : ''}${boardinfo.hostname ?? '?'}`) }} | LuCI